	<div class="layui-side layui-bg-black">
		<div class="layui-side-scroll"> 
			<div class="layui-side-btn">
                <a class="layui-btn layui-btn-sm layui-btn-normal" href="{:url('Update/update')}">
                    <i class="ace-icon fa fa-signal"></i>
                </a>
				 
                <a class="layui-btn layui-btn-sm " href="{:url('Database/backup')}">
                    <i class="ace-icon fa fa-pencil"></i>
                </a>
				 
                <!-- #section:basics/sidebar.layout.shortcuts -->
                <a class="layui-btn layui-btn-sm layui-btn-warm" href="{:url('Member/index')}">
                    <i class="ace-icon fa fa-users"></i>
                </a>

                <a class="layui-btn layui-btn-sm layui-btn-danger" href="{:url('Setting/setting')}">
                    <i class="ace-icon fa fa-cogs"></i>
                </a>

                <!-- /section:basics/sidebar.layout.shortcuts -->
            </div>
			<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
			<ul class="layui-nav layui-nav-tree"  lay-filter="test">
			{volist name="menu" id="v"}
				<li class="layui-nav-item 
				{if condition="($v['id'] eq $current['id']) OR ($v['id'] eq $current['pid']) OR ($v['id'] eq $current['ppid'])"}
				layui-nav-itemed layui-this-left
				{/if}
				"> <a class="" href="
				{empty name="v.name"}
                    javascript:;
                {else /}
					{notempty name="v.children"}
                    	javascript:;
					{else /}
						{:url($v['name'])}
					{/notempty}
                {/empty}
				"><i class="{$v.icon}"></i>{$v.title}</a>
					{notempty name="v.children"}
					<dl class="layui-nav-child">
						{volist name="v.children" id="vv"}
						<dd>
						<a 
						{if condition="($vv['id'] eq $current['id']) OR ($vv['id'] eq $current['pid'])"}
						class="layui-this {if condition="$current['ppid'] neq '0'"}layui-this{/if}"
						{/if} 
						href="
						{empty name="vv.children"}
                        	{:url($vv['name'].'?pid='.$vv['cs'])}
                        {else /}
                            javascript:;
                        {/empty}
						"><i class="
						{empty name="vv.icon"}
							menu-icon fa fa-caret-right
						{else /}
							{$vv.icon}
						{/empty}
						"></i>{$vv.title}</a>
						</dd>
							<!-- 三级栏目 暂时没启用--->
						     {notempty name="vv.children"}
                                <ul>
                                    {volist name="vv.children" id="vvv"}
                                        <li
                                        {if condition="$vvv['id'] eq $current['id']"}class="active"{/if}
                                        >
                                        <a href="{:url($vvv['name'].'?pid='.$vvv['cs'])}">
                                            <i class="{$vvv.icon}"></i>
                                            {$vvv.title}
                                        </a>
                                        </li>
                                    {/volist}
                                </ul>
                            {/notempty}
							<!-- 三级栏目 暂时没启用--->
						{/volist}
					</dl>
					{/notempty}
				</li>
			{/volist}
			</ul>
		</div>
	</div>